export const listRoute = [
  'inbox',
  'sent',
  'draft',
  'deleted',
  'doing',
  'star',
  'inner',
  'folder',
  'tag',
];

export const listParams = {
  inbox: { folderid: 0, menu_folderid: 0 },
  sent: { folderid: -1, menu_folderid: -1 },
  draft: { folderid: -2, menu_folderid: -2 },
  deleted: { folderid: -3, menu_folderid: -3 },
  doing: { waitdeal: '1', menu_waitdeal: '1' },
  star: { star: '1', menu_star: '1' },
  inner: { isInternal: '1', menu_isInternal: '1' },
  folder: { },
  tag: { },
};

export const flags = {
  Rr: 'icon-email-read', // 已读
  Ru: 'icon-email-Unread', // 未读
  Rp: 'icon-email-Replies', // 已回复
  Fw: 'icon-email-Forward', // 已转发
  Rf: 'icon-email-Forward-and-reply', // 已转发且已回复
  edit: 'icon-email-error', // 发送失败
  timingdate: 'icon-email-timing', // 定时发送
  file: 'icon-email-Enclosure', // 附件
  fav: 'icon-email-Collection', // 收藏
  agency: 'icon-email-Agency', // 待办
};